package com.bjtu.laorenyouhao.guanliyuan.utils;


import com.bjtu.laorenyouhao.guanliyuan.feign.YigongFeignService;
import org.springframework.stereotype.Component;

@Component
public class RenyuanUtils {

    public static Integer getYigongId(String name, YigongFeignService yigongFeignService) {
        Integer renyuanId = null;

        renyuanId = (Integer) yigongFeignService.getYigongId(name).get("yigongId");

        return renyuanId;
    }

}
